   
<div class="modal-header">
    <button type="button" class="close" ng-click="cancel()">×</button>
    <i class="fa fa-inbox"></i><span class="label label-tag label-primary">查看知识库文档</span>
</div>
<div class="modal-body">
    <!-- <input type="hidden" id="approveTime" name="approveTime">
    <input type="hidden" id="approveUserId" name="approveUserId">
    <input type="hidden" id="createTime" name="createTime">
    <input type="hidden" id="createrUserId" name="createrUserId">
    <input type="hidden" id="hits" name="hits">
    <input type="hidden" id="renewTime" name="renewTime">
    <input type="hidden" id="renewUserId" name="renewUserId">
    <input type="hidden" id="status" name="status">
    <input type="hidden" id="relateId" name="relateId">
    <input type="hidden" id="id" name="id">
    <input type="hidden" id="vision" name="vision"> -->
    
    <div class="row form-group" ng-class="{'has-error': showError('title')}">
            <label class="col-md-2 control-label" for="title">
                    标题:
            </label>
            <div class="col-md-9">
                <input  id="title" name="title" ng-model="entity.title" class="form-control"  placeholder="标题" disabled="true"/>
            </div>
    </div>
    <div class="row form-group">
           <label class="col-md-2 control-label" for="vision">
                    版本:
            </label>
           <div class="col-md-9">
                <select  id="version" class="form-control"  
                    ng-model="entity.vision"  data-placeholder="选择版本" disabled="true">
                    <option ng-repeat="r in visions" value="{{r.vision}}" ng-selected="{{r.vision == entity.vision}}" >V{{r.vision}}</option>
                </select> 
            </div>  
    </div>

    <div class="row form-group" ng-class="{'has-error': showError('keys')}">
         <label class="col-md-2 control-label" for="keys">关键字:</label>
         <div class="col-md-9">
               <input  class="form-control" id="keys" name="keywords" ng-model="entity.keys"   placeholder="关键字" disabled="true"/>
         </div> 
    </div>

    <div class="row form-group" ng-class="{'has-error': showError('typeId')}">
        <label class="col-md-2 control-label" for="type">分类:</label>
        <div class="form-group">
            <div  class="col-md-9">
              <input type="text" class="form-control" ng-model="entity.typeName" placeholder="分类..." disabled="true"/>
            </div>
        </div>
    </div>

    <div class="row form-group" ng-class="{'has-error': showError('range')}">
         <label class="col-md-2 control-label" for="range">使用范围:</label>
         <div class="col-md-9" >
          <!-- <div  class="col-md-9"> -->
              <input type="text" class="form-control" ng-model="entity.range.name" placeholder="分类..." disabled="true"/>
            <!-- </div> -->
            <!-- <ui-select ng-model="entity.range" theme="bootstrap"  >
                <ui-select-match placeholder="选择使用范围" >
                      {{$select.selected.name}}
                </ui-select-match>
               
                <ui-select-choices  repeat="item in ranges | filter: $select.search">
                      <div ng-bind-html="item.name | highlight: $select.search"></div>
                </ui-select-choices>
            </ui-select> -->
          </div> 
    </div>
         
    <div class="row form-group" ng-class="{'has-error': showError('number')}">
            <label class="col-md-2 control-label" for="number">知识库编号:</label>
            <div class="col-md-9" style="z-indx:1px;">
              <input  id="number" ng-model="entity.number" name="solutionNumber" class="form-control"  placeholder="知识库编号" editabled="false" disabled="true"> 
            </div>             
    </div>
    <div class="row form-group"  ng-show="entity.remark"> 
        <label class="col-md-2 control-label" for="remark">驳回意见：</label> 
        <div class="col-md-9">
          <textarea  id="reasonval" ng-model="entity.remark" class="form-control" disabled="true"></textarea>
        </div> 
    </div> 
    <div class="row form-group"  ng-show="entity.reject"> 
        <label class="col-md-2 control-label" for="reject">拒绝意见：</label> 
        <div class="col-md-9">
          <textarea  id="reasonval" ng-model="entity.reject" class="form-control" disabled="true"></textarea>
        </div> 
    </div>    
    <div class="row form-group" ng-class="{'has-error': showError('content')}">
            <label class="col-md-2 control-label" for="content">知识库内容:</label>
            <div class="col-md-9" style="z-indx:1px;" >
                <div ckeditor="options" ng-model="entity.content" ready="onReady()" disabled="true"></div>
            </div>             
    </div>  
    <div class="row form-group" ng-class="{'has-error': showError('file')}">
      <label class="col-md-2" >
        <span class="lbl"  style="margin-left:12px">附件:</span>
      </label>
      <div class="col-md-9" style="z-indx:1px;">
        <a href="{{solutionDowpath}}/{{entity.id}}" tooltip="下载" >
          <!-- <img src="{{entity.filePic}}" > -->
        {{entity.fileName}} </a>
      </div> 
    </div>
  </div>
         
      
        